package com.kobeliu.api.feign;

import com.kobeliu.result.GraceJSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("work-service")   //告知springcloud容器，本接口是调用远程服务的service
public interface WorkMicroServiceFeign {

    @PostMapping("/resume/init")
    GraceJSONResult init(@RequestParam("userId")String userId);
}
